package com.hua.lambda;

public class TestLambda2 {


    public static void main(String[] args) {
        Ilove ilove  = (int a ,String b) -> System.out.println("i love you -->"+a);
        ilove.love(520," ");
        Ilove ilove1  = (a,b) -> {System.out.println("i love you -->"+a);
            System.out.printf("i love you too"+b);};
        ilove1.love(12123,"dwd");
    }

}
interface Ilove{
    void love(int a ,String b);
}
